home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / bsd / rpcsvc / ypupdate_prot.h < prev    next >
C/C++ Source or Header  |  1990-01-22  |  944b  |  48 lines

  1.  
  2. /* @(#)ypupdate_prot.x    1.2 88/03/31 4.0NFSSRC; from 1.4 88/02/08 Copyr 1986, Sun Micro */
  3.  
  4. /*
  5.  * Compiled from ypupdate_prot.x using rpcgen
  6.  * This is NOT source code!
  7.  * DO NOT EDIT THIS FILE!
  8.  */
  9. #define MAXMAPNAMELEN 255
  10. #define MAXYPDATALEN 1023
  11. #define MAXERRMSGLEN 255
  12.  
  13. #define YPU_PROG ((u_long)100028)
  14. #define YPU_VERS ((u_long)1)
  15. #define YPU_CHANGE ((u_long)1)
  16. extern u_int *ypu_change_1();
  17. #define YPU_INSERT ((u_long)2)
  18. extern u_int *ypu_insert_1();
  19. #define YPU_DELETE ((u_long)3)
  20. extern u_int *ypu_delete_1();
  21. #define YPU_STORE ((u_long)4)
  22. extern u_int *ypu_store_1();
  23.  
  24.  
  25. typedef struct {
  26.     u_int yp_buf_len;
  27.     char *yp_buf_val;
  28. } yp_buf;
  29. bool_t xdr_yp_buf();
  30.  
  31.  
  32. struct ypupdate_args {
  33.     char *mapname;
  34.     yp_buf key;
  35.     yp_buf datum;
  36. };
  37. typedef struct ypupdate_args ypupdate_args;
  38. bool_t xdr_ypupdate_args();
  39.  
  40.  
  41. struct ypdelete_args {
  42.     char *mapname;
  43.     yp_buf key;
  44. };
  45. typedef struct ypdelete_args ypdelete_args;
  46. bool_t xdr_ypdelete_args();
  47.  
  48.